public class Student {
    private String name;
    private int score;

    public Student(String StudentName,int StudentScore){
        name=StudentName;
        score=StudentScore;
    }

    @Override
    public String toString(){
        return String.format("Student(name:%s,score:%d)",name,score);
    }

    public static void main(String[] args)
    {
        Array<Student> arr = new Array<>();
        arr.addLast(new Student("wangbo",30));
        arr.addLast(new Student("lijiang",80));
        arr.addLast(new Student("liudong",100));
        System.out.println(arr);
    }


}
